<table>

    <thead>
        <tr>
            <th>Hạng Tour</th>
            <th>Hạng Tour(English)</th>
            <th>Thao tác</th>
            
        </tr>

    </thead>

    <tbody>
        <?php 
        $cates = $this->cates;
        foreach ($cates as $c){
        ?>
        <tr>
          <td><?php echo $c['tour_cat_name'];?></td>
          <td><?php echo $c['tour_cat_name_en'];?></td>
          <td>
              <a href='/admin/tour-category/edit/id/<?php echo $c['id']?>'>Sửa</a>
              <a class="delete" href='/admin/tour-category/del/id/<?php echo $c['id']?>'>Xóa</a>
          </td>
        </tr>
        <?php  }?>       
    </tbody>
</table>
<div id="deleteDialog" style="display:none">
    <p>Bạn có chắc chắn muốn xóa không?</p>
</div>
<div style="margin-top: 20px;">
    <a class="button" href="/admin/tour-category/add">Thêm hạng tour mới</a>
</div>